package chainOfResponsibilityPattern;

// 处理器接口
public abstract class Handler {

    Handler nextHandler;

    public Handler(Handler nextHandler) {
        this.nextHandler = nextHandler;
    }


    abstract void handleRequest(Double amount);
}
